package com.gmail.hy87cn.hellohi.shared;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * @author HeYi
 * 
 */
public class HiRoom implements IsSerializable {
	private int capacity;
	private ArrayList<HiUser> userList;
	private ArrayList<HiMessage> messageList;
	private ERoomState state;

	public HiRoom() {}

	public void setCapacity(int capacity) {
		this.capacity = capacity;
	}
	public int getCapacity() {
		return capacity;
	}

	public void setUserList(ArrayList<HiUser> userList) {
		this.userList = userList;
	}
	public ArrayList<HiUser> getUserList() {
		return userList;
	}

	public void setMessageList(ArrayList<HiMessage> messageList) {
		this.messageList = messageList;
	}
	public ArrayList<HiMessage> getMessageList() {
		return messageList;
	}

	public void setState(ERoomState state) {
		this.state = state;
	}
	public ERoomState getState() {
		return state;
	}
}
